<?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "t_mobile_sign".
 *
 * @property string $id
 * @property string $token
 * @property string $uid
 * @property string $verification
 * @property string $status
 * @property string $create_time
 */
class TMobileSign extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 't_mobile_sign';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['id', 'create_time'], 'required'],
            [['create_time'], 'safe'],
            [['id', 'uid'], 'string', 'max' => 36],
            [['token'], 'string', 'max' => 200],
            [['verification'], 'string', 'max' => 255],
            [['status'], 'string', 'max' => 10],
            [['id'], 'unique'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'token' => 'Token',
            'uid' => 'Uid',
            'verification' => 'Verification',
            'status' => 'Status',
            'create_time' => 'Create Time',
        ];
    }
}
